home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / xview / genial / func / anot.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-14  |  584 b   |  41 lines

  1. /*
  2.  * anot.c -- routines to allow for textual annotation of an image
  3.  *
  4.  */
  5.  
  6. #include "display.h"
  7. #include "ui.h"
  8. #include "log.h"
  9. #include "reg.h"
  10.  
  11. anot_init()
  12. {
  13.     reg_setdom(ANOT);
  14.  
  15.     clear_info();
  16.     lab_info("For text, click on a position and begin typing.", 1);
  17.     lab_info("Otherwise, select an annotation region.", 2);
  18.     lab_info("Hit return (for text) or click <eval> when finished", 3);
  19.     return 0;
  20. }
  21.  
  22. anot_eval()
  23. {
  24.     text_reset(curfunc->reg);
  25.  
  26.     clear_info();
  27.     return 0;
  28. }
  29.  
  30. anot_clear()
  31. {
  32.     clear_info();
  33.  
  34.     return 0;
  35. }
  36.  
  37. anot_change()
  38. {
  39.     return 0;
  40. }
  41.